package quotactl

type Service interface {
	Set(name string, quotaList []UserQuota) error
	Get(name string) (result []UserQuota)
}

type UserQuota struct {
	Name   string `json:"name"`
	Device string `json:"device"`          //volume
	Limit  uint64 `json:"limit"`           //unit:GB
	Total  uint64 `json:"total,omitempty"` //unit:GB
}

type Quota struct {
}

func New() *Quota {
	return &Quota{}
}
